const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  lintOnSave: false,
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 直接覆盖变量
            blue: 'rgb(33, 185, 122)',
            '@nav-bar-background-color': 'rgb(33, 185, 122)',
            '@nav-bar-icon-color': '#fff',
            '@nav-bar-title-text-color': '#fff',
            '@nav-bar-title-font-size': '18px',
            '@field-word-limit-font-size': '30px'
          }
        }
      }
    }
  }
})
